session=$1
tmux has-session -t $session
if [ $? != 0 ]
then
	tmux new-session -s $session -n Controlcenter -d "htop"
	tmux split-window -t "$session:0.0" -v "alsamixer"
	tmux split-window -t "$session:0.1" -h "su -c 'killall iftop; iftop -i wlp2s0' root"
	tmux attach -t $session
else
	echo 'SESSION ALREADY EXISTS'
fi
